<template>
  <div class="content">
    <!-- 圆角弹窗（居中） -->
      <van-popup round closeable
        :close-on-click-overlay="false"
       :style="{ height: '30%',width:'80%' }" 
       :closeable="false"
       v-model="show">
        <div class="title">功能选择</div>
        <div class="bottom">
          <van-button round type="primary" block to="/site">直放站</van-button>
          <van-button round type="info" block to="/rfid">RFID</van-button>
          <van-button round type="warning" block to="/simulate">模拟扫频</van-button>
        </div>
      </van-popup>
  </div>
</template>

<script>
export default {
    name: 'home',
  data() {
    return {
      show:true,
    };
  },
  methods: {
  },
};
</script>

<style scoped>
.bottom{
    width: 80%;
    height: 70%;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    margin: 0 auto;
    margin-top: 5%;
}
.title{
    font-size: 18px;
    text-align: center;
    height: 40px;
    line-height: 40px;
}
</style>